﻿@model IEnumerable<HdipCricketClub.Models.Club>

@{
    ViewBag.Title = "Index";
}

@foreach (var item in Model) {
    
            <h2>@Html.DisplayFor(modelItem => item.name)</h2>
        
            <strong>@Html.DisplayFor(modelItem => item.address_1),</strong><br/>
       
            <strong>@Html.DisplayFor(modelItem => item.address_2),</strong><br/>
        
            <strong>@Html.DisplayFor(modelItem => item.town_city),</strong><br/>
        
            <strong>@Html.DisplayFor(modelItem => item.County1.name),</strong><br/><br/>
        
            <strong>@Html.LabelFor(modelItem => item.phone)</strong> @Html.DisplayFor(modelItem => item.phone)<br/>
        
            <strong>@Html.LabelFor(modelItem => item.email)</strong> @Html.DisplayFor(modelItem => item.email)<br/><br/>
        
            <strong>@Html.LabelFor(modelItem => item.Member.first_name,"President:")</strong>
             @Html.DisplayFor(modelItem => item.Member.first_name)<span> </span>@Html.DisplayFor(modelItem => item.Member.last_name)<br/>
                    
            <strong>@Html.LabelFor(modelItem => item.Member1.first_name, "Chairman:")</strong>
             @Html.DisplayFor(modelItem => item.Member1.first_name)<span> </span>@Html.DisplayFor(modelItem => item.Member1.last_name)<br/>
        
            <strong>@Html.LabelFor(modelItem => item.Member2.first_name, "Secretary:")</strong>
             @Html.DisplayFor(modelItem => item.Member2.first_name)<span> </span>@Html.DisplayFor(modelItem => item.Member2.last_name)<br/>
        
            <strong>@Html.LabelFor(modelItem => item.Member3.first_name, "Fixtures Secretary:")</strong>
             @Html.DisplayFor(modelItem => item.Member3.first_name)<span> </span>@Html.DisplayFor(modelItem => item.Member3.last_name)
        
}



